﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using UnityEngine;
using Core;

public interface IBattleDataHelper : IHelperTag
{
    int PlayerId { get; set; }
    BattleInfoData battleInfo { get; set; }
}

public class BattleDataHelper : Helper, IBattleDataHelper
{
    public int PlayerId { get; set; }

    public BattleInfoData battleInfo { get; set; }

    public override void OnInit()
    {
        BattleDataTool.helper = this;
    }

    public override void OnDestroy()
    {
        BattleDataTool.helper = null;
    }
}